package org.pine.start.interceptor;

import com.baomidou.mybatisplus.annotation.DbType;
import com.baomidou.mybatisplus.extension.plugins.inner.PaginationInnerInterceptor;
import com.baomidou.mybatisplus.extension.plugins.pagination.dialects.MySqlDialect;

/**
 * mysql分页拦截器
 *
 * @author pine
 * @version v1.0
 * @since 2025-04-12 13:23
 */
public class MysqlPaginationInnerInterceptor extends PaginationInnerInterceptor {

    public MysqlPaginationInnerInterceptor() {
        super(DbType.MYSQL);
        super.setDialect(new MySqlDialect());
    }
}
